package routers

import (
	beego "github.com/beego/beego/v2/server/web"
	"year/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/form", &controllers.ShowController{}, "get:Form")
	beego.Router("/show", &controllers.ShowController{}, "get:Show")
	beego.Router("/del", &controllers.DelController{}, "get:Del")
	beego.Router("/up_form", &controllers.UpController{}, "get:UpForm")
	//beego.Router("/update", &controllers.UpController{}, "post:Update")
}
